




<%
console.log(formdatas);
if(formdatas.length == 0){ %>
<div class="panel">

              <div class="panel-heading row">
                  <h2 class="col-md-9">no results found</h2>
              </div>
</div>


<% } else{

  _.each(formdatas, function (form) {     %>

<div class="panel">

              <div class="panel-heading row">
                  <h2 class="col-md-9"><%=form.title%></h2>
              </div>
              <div class="panel-body row">
                    <div class="col-md-9">
                        <a target="_new" href="<%=form.formUrl%>" class="link"><%=form.formUrl%></a>
                        <p> <b>Description:</b> <%=form.description%> </p>
                    </div>
                    <div class="col-md-3">
                          <a target="_new" class="btn btn-success btn-lg previewbtn" href="<%=form.formUrl%>" class="btn btn-success">Preview <i class="glyphicon glyphicon-menu-right"> </i> </a>
                    </div>
              </div>

</div>

<%});
}
%>
